/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.amoby.base.common;

/**
 * 支付宝服务窗环境常量（demo中常量只是参考，需要修改成自己的常量值） 廖江红 2015-11-27添加
 * @author taixu.zqq
 * @version $Id: AlipayServiceConstants.java, v 0.1 2014年7月24日 下午4:33:49 taixu.zqq Exp $
 */
public class AlipayServiceEnvConstants {
    /** 支付宝公钥-从支付宝服务窗获取 */
    public static final String ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDDI6d306Q8fIfCOaTXyiUeJHkrIvYISRcc73s3vF1ZT7XN8RNPwJxo8pWaJMmvyTn9N4HQ632qJBVHf8sxHi/fEsraprwCtzvzQETrNRwVxLO5jVmRGi60j8Ue1efIlzPXV9je9mkjzOmdssymZkh2QhUrCmZYI/FCEa3/cNMW0QIDAQAB";
    /** 签名编码-视支付宝服务窗要求 */
    public static final String SIGN_CHARSET      = "GBK";
    /** 字符编码-传递给支付宝的数据编码 */
    public static final String CHARSET           = "GBK";
    /** 签名类型-视支付宝服务窗要求 */
    public static final String SIGN_TYPE         = "RSA";
    public static final String PARTNER           = "2088911227080000";
    /** 服务窗appId */
    // TODO !!!! 注：该appId必须设为开发者自己的服务窗id 这里只是个测试id2015041300044717 2088911276719241 2015112400862431
    public static final String APP_ID            = "2015112400862431";
    // 开发者请使用openssl生成的密钥替换此处 请看文档：https://fuwu.alipay.com/platform/doc.htm#2-1接入指南
    // TODO !!!! 注：该私钥为测试账号私钥 开发者必须设置自己的私钥 , 否则会存在安全隐患
    public static final String PRIVATE_KEY       = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKVIe+znkkGRT3YANr+16JKvdPY8RliAhrCOX/oCFMaRXoAMk/QXBomwmKyh2Sm/3pFSVnUB0ZHQmQISblueL8yKmmYH0T27R/BSFgtY5vUPAYcPbZNMa3SwP/g2wO/FNP4LAfWATCBzppLJZN1mHrD0zCV2WYOqLG+3pT3QLwVVAgMBAAECgYAJju2Lv8CXhh3ARzbjU1PF19u9ubKfv58KatFmFeS5rwJ2CUQtI3+/SrUplpqGbZAje02AqsBB3HxcwFAdgEJnS/HU3lggAi5x7+AyPqAjGlmkyGwXTmGQ7JfpjXXAzfjSRYesWO0nxBxm5L3+Zb0nSW6USoh1MzS+JLJY0ioCqQJBANine5+M9euu+mbJ/mVBGAL0uIDxgUF4ZYXO53uY3kv12ZC/LVANWNxrLDWsuzIf6H+HcZpRd/U2D2qAfEsckAMCQQDDTLJ3maKSgU+73uNJrQqs5QNfjG9cFL6BP+HC51dVvhzjgGRzJkf6YON1zc52wt4rHJlOZ3BfloEqqXL/I7HHAkEAwQtCuOCmAzGvRkV3mosMtR2PBL2r2UVI2JiKY/PLJ03RZQsjee/anNQV2WGmjrwlsvRhggpTY7eettvzZA34NwJBAJkGhKQv7nFq/yXOzDrTapT0UMNST4NQAcFWY7gK+qSFdS9RT+Pl7+ogdrm8i/UEVX5kRz9mz2cmj4j1AtUli8sCQF68efa7F+eF6QUF82c7UwpOeFIwPldpm4dz6DlRGi/wcifgOFAsEgutF7wxLI/2L/q37duTQkQGxn9RK9ImhWY=";
    // TODO !!!! 注：该公钥为测试账号公钥 开发者必须设置自己的公钥 ,否则会存在安全隐患
    public static final String PUBLIC_KEY        = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQClSHvs55JBkU92ADa/teiSr3T2PEZYgIawjl/6AhTGkV6ADJP0FwaJsJisodkpv96RUlZ1AdGR0JkCEm5bni/MippmB9E9u0fwUhYLWOb1DwGHD22TTGt0sD/4NsDvxTT+CwH1gEwgc6aSyWTdZh6w9MwldlmDqixvt6U90C8FVQIDAQAB";
    //
    /** 支付宝网关 */
    public static final String ALIPAY_GATEWAY    = "https://openapi.alipay.com/gateway.do";
    /** 授权访问令牌的授权类型 */
    public static final String GRANT_TYPE        = "authorization_code";
}